<?php
// $db = require 'db.php';
$action = isset($_GET['a'])?$_GET['a']:'index';
$control = 'control/'.$action.'.php';
if (is_file($control)) {
	require $control;
}else{
	echo 'error';
}
?>